package com.shrct.businessprocess.customerservice.proxy;

import com.shrct.businessprocess.customerservice.proxy.RCFaultReportAction;
import com.uniquesoft.gwt.shared.GWTNamedEntity;
import edu.fudan.mylang.pf.ProxyTarget;

@ProxyTarget("com.shrct.businessprocess.customerservice.RCFaultReport")
public class RCFaultReportProxy extends GWTNamedEntity {
  public RCFaultReportProxy() {
    this.setClazzName("com.shrct.businessprocess.customerservice.RCFaultReport");
  }
  
  private String flow;
  
  public void setFlow(final String status) {
    this.flow = status;
  }
  
  public String getFlow() {
    return this.flow;
  }
  
  public Boolean isActionValid(final RCFaultReportAction action) {
    return RCFaultReportManager.isActionValid(action,flow);
  }
}
